package haiyangwangwork.day11.homework.hk.张柳柳;

public class PrimeNumber {
    public static void main(String[] args) {


        for (int i = 2; i < 1000; i++) {
            boolean flag = true;
            for (int j = 2; j < i; j++) {

                if (i % j != 0) {
                    flag = false;
                    System.out.println(i);
                    break;
                }

            }


        }
    }
}
